import request from '@/utils/request'

// 查询产业发展指数列表
export function listDevelopmentIndex(query) {
  return request({
    url: '/system/DevelopmentIndex/list',
    method: 'get',
    params: query
  })
}

// 查询产业发展指数详细
export function getDevelopmentIndex(id) {
  return request({
    url: '/system/DevelopmentIndex/' + id,
    method: 'get'
  })
}

// 新增产业发展指数
export function addDevelopmentIndex(data) {
  return request({
    url: '/system/DevelopmentIndex',
    method: 'post',
    data: data
  })
}

// 修改产业发展指数
export function updateDevelopmentIndex(data) {
  return request({
    url: '/system/DevelopmentIndex',
    method: 'put',
    data: data
  })
}

// 删除产业发展指数
export function delDevelopmentIndex(id) {
  return request({
    url: '/system/DevelopmentIndex/' + id,
    method: 'delete'
  })
}
